package com.cqjtu.store.user.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ProjectName: cqjtu-store
 * @Titile: UserVO
 * @Author: Lucky
 * @Description: 查询用户后的信息封装类
 */
@Data
// todo 在线文档注解
@ApiModel(value = "查询用户信息的DTO",description = "查询用户后的信息封装类")
public class UserVO {
    @NotBlank
    @ApiModelProperty(value = "用户名",name = "username",example = "rose",required = true)
    private String username;
    @NotBlank
    @ApiModelProperty(value = "联系电话",name = "phone",example = "12345678965",required = true)
    private String phone;
    @NotBlank
    @ApiModelProperty(value = "邮箱",name = "email",example = "14651684@qq.com",required = true)
    private String email;
    @NotBlank
    @ApiModelProperty(value = "性别",name = "gender",example = "0",required = true)
    private Integer gender;
}
